let Modal = {}

Modal.show = options => {
    let data = {
        title: '温馨提示'
    }
    if (typeof options == 'string') {
        data.content = options;
        data.showCancel = false;
    }
    else {
        data = Object.assign(data, options)
    }
    wx.showModal(data);
}

export default Modal;